<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ include file="/static/common/taglibs.jsp" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

    <c:forEach items="${jewels }" var="jewel">
        <tr>
            <td width="35"><input name="jewelItem" type="checkbox" value="${jewel.id}" class="zuan_list_check"/></td>
            <td width="90">${jewel.num}</td>
            <td width="48">${jewel.shape}</td>
            <td width="41">${jewel.weight}</td>
            <td width="41">${jewel.color}</td>
            <td width="49">${jewel.neatness}</td>
            <td width="41">${jewel.cut}</td>
            <td width="42">${jewel.buffing}</td>
            <td width="41">${jewel.symmetry}</td>
            <td width="41">${jewel.fluorescence}</td>
            <td width="43">${jewel.card}</td>
            <td width="88">${jewel.cardId}</td>
            <td width="114">${jewel.size}</td>
            <td width="70">${jewel.internationalPrice}</td>
            <td width="50"><fmt:formatNumber value="${jewel.secondDiscount}" pattern="0.00" type="number"/></td>
            <td width="80"><fmt:formatNumber value="${jewel.secondPrice}" pattern="0" type="number"/></td>
            <td width="65" class="dinggou">
		<a href="${ctx}/jewel/addShopCar?id=${jewel.id}">&nbsp;</a>
                <div class="more" style="display: none">
                    <p>所在地：${jewel.holdType}</p>

                    <p>奶油色：${jewel.hasMilkColor}</p>

                    <p>咖啡色：${jewel.hasCoffeeColor}</p>

                    <p>绿　色：${jewel.hasGreenColor}</p>
                </div>
            </td>
        </tr>
    </c:forEach>
<%--<tr>
    <td colspan="17"  onclick="search(1)" >点击加载更多</td>
</tr>--%>
   <script type="text/javascript">
        $(document).ready(function(){
            $("tr").hover(function(){
                $("tr .dinggou .more").css("display","none");
                $(this).children(".dinggou").children(".more").css("display","block");
            });
        });
    </script>

